import React from 'react'
// ===================================================================== private component
const SubmitFullPage = window.$Lazy.load(()=>import('#private/pages/submit-full-page'))
// ===================================================================== component
class Index extends React.Component{
	state = {
		// 提交表单列表
		formData : [
			{ label: '邮件HOST',		name: 'email_host', 		full:true,		required:true },
			{ label: '发送邮箱地址',		name: 'email_address', 		full:true,		required:true },
			{ label: '发送者名称',		name: 'sender', 			full:true,		required:true },
			{ label: '端口',			name: 'send_port', 			full:true,		required:true },
			{ label: 'Email密码',		name: 'email_pass', 		full:true,		required:true }
		]
	}
	
	render(){
		return <SubmitFullPage api='conf-email/info' title='邮件配置' formData={this.state.formData} />
	}
}

export default Index